package com.senken.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.senken.entity.Declares;
import com.senken.entity.Reuturns;
import com.senken.service.IReuturnsService;

@Controller
@RequestMapping("/return")
public class ReuturnsController {

	@Autowired
	private IReuturnsService reuturnsService;
	
	@RequestMapping("/selectreturns")
	@ResponseBody
	public List<Reuturns> selectReturns(){
		return reuturnsService.selectReuturns();
	}
}
